import {Http} from '@/utils'

export function _getCollection(data) {
  return Http({
    url: '/collection',
    method: 'get',
    params: {
      ...data
    }
  })
}

export function _postCollection(data) {
  return Http({
    url: '/collection',
    method: 'post',
    body: data
  })
}

export function _delCollection(data) {
  return Http({
    url: '/collection/collection',
    method: 'delete',
    body: data
  })
}
